package be.artisjaap.htmlparser.sites.aeg.tags;

import java.io.Writer;

import be.artisjaap.htmlparser.core.HtmlMapper;
import be.artisjaap.htmlparser.core.ISiteMapper;

public class FeatureAegTag implements ISiteMapper{
	
	@HtmlMapper(xpath="//h3")
	private String title;
	
	@HtmlMapper(xpath="//p")
	private String descr;

	/**
	 * @return the descr
	 */
	public String getDescr() {
		return descr;
	}

	/**
	 * @param descr the descr to set
	 */
	public void setDescr(String descr) {
		this.descr = descr.replaceAll("Lees meer", "");
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	
	public void generateScript(Writer out){
		
	}

}
